from django.forms import ModelForm

from Rbac.models import UserInfo


class AuthorForm(ModelForm):
    class Meta:
        model = UserInfo  # 根据 Author 模型创建表单
        fields = "__all__" # 该表单包含的字段



